#include "CalibrationApp.h"

configuration CalibrationAppC {
} implementation{

	components 
		CalibrationAppP as App, 
		MainC,
		new TimerMilliC() as Period,
		new TimerMilliC() as Wait,
		LedsC as Leds,
		EnergyC;
	
	App.Boot -> MainC;
	App.PeriodTimer -> Period; 
	App.WaitTimer -> Wait;
	App.Leds -> Leds;
	App.EnergyState -> EnergyC;

	components
		HplEMPinsC as Pins;
	
	App.Pin1 -> Pins.ADC0;
	App.Pin2 -> Pins.ADC1;
	App.Pin3 -> Pins.ADC2;
	//App.Pin4 -> Pins.I2C_SDA;
	//App.Pin5 -> Pins.ADC3;
	//App.Pin6 -> Pins.ADC7;
	
	App.GIO1 -> Pins.GIO1;

}